package entity;

public class Lesson {
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getStudent() {
        return student;
    }

    public void setStudent(String student) {
        this.student = student;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }


    public String getDisapprovereason() {
        return disapprovereason;
    }

    public void setDisapprovereason(String disapprovereason) {
        this.disapprovereason = disapprovereason;
    }

    public String getApplyreason() {
        return applyreason;
    }

    public void setApplyreason(String applyreason) {
        this.applyreason = applyreason;
    }


    @Override
    public String toString() {
        return "Lesson{" +
                "code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", teacher='" + teacher + '\'' +
                ", student='" + student + '\'' +
                ", status=" + status + '\'' +
                ", disapprovereason=" + disapprovereason +
                ", applyreason=" + applyreason +
                '}';
    }

    private String code;
    private String name;
    private String teacher;
    private String student;
    private int status;
    private String disapprovereason;
    private String applyreason;

    public Lesson(String code,String name,String teacher,String student,int status,String disapprovereason,String applyreason){
        this.code=code;
        this.name=name;
        this.teacher=teacher;
        this.student=student;
        this.status=status;
        this.disapprovereason=disapprovereason;
        this.applyreason=applyreason;
    }
}
